package com.naicheng.ivote.utils;



import android.util.Log;


public class LogUtils {
	
	/**
	 * 是否显示    false 表示上线阶段，true 表示开发阶段
	 */
	//private static final boolean isShow = Constants.isCoding;
	private static final boolean isShow = true;
	
	
	public static void logi(String tag,String msg){
		if(isShow){
			Log.i(tag,msg);
		}
	}
	public static void logi(String msg){
		if(isShow){
			Log.i("YPY",msg);
		}
	}
	
	public static void logd(String tag,String msg){
		if(isShow){
			Log.d(tag,msg);
		}
	}
	public static void logd(String msg){
		if(isShow){
			Log.d("YPY",msg);
		}
	}
	
	public static void loge(String tag,String msg){
		if(isShow){
			Log.e(tag,msg);
		}
	}
	public static void loge(String msg){
		if(isShow){
			Log.e("YPY",msg);
		}
	}
	
}
